package com.ruoyi.libb.utils;

public enum AppExceptionCodeMsg {

    INVALID_CODE(10000,"验证码无效"),
    USERNAME_NOT_EXISTS(10001,"用户名不存在"),
    BODY_NOT_MATCH(10003,"空指针异常"),
    USER_CREDIT_NOT_ENOUTH(10002,"用户积分不足"),
    ERROR_LIST_NOT(10004,"列表查询失败"),
    ERROR_ADD_NOT(10005,"添加失败"),
    ERROR_UPDATE_NOT(10006,"修改失败"),
    ERROR_DELETE_NOT(10007,"删除失败"),
    ERROR_SEND_NOT(10009,"发送失败" ),
    ERROR_PDF_NOT(10008,"生成失败!" ),
    ERROR_LOGIN_NOT(10010,"登录失败")
    ;

    ;

    private int code ;
    private String msg ;

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }


    AppExceptionCodeMsg(int code, String msg){
        this.code = code;
        this.msg = msg;
    }

}
